package com.xyhuo.leetcode.proxy.staticProxy;

/**
 * 具体的类
 */
public class Student implements Person {

    private String name;

    public Student(String name) {
        this.name = name;
    }

    @Override
    public void giveMoney() {
        System.out.println(name + "上交50元");
    }
}
